package com.ywwl.util.response;

import java.util.List;

public class ResponseMsgWithPage<T> extends ResponseMsg {

    //当前页数
    private int pageIndex = 0;
    //每页数量
    private int pageSize = 10;
    //总记录数量
    private int total = 0;
    //当前数据
    private List<T> list;


    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
